<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript" src="${path}/style/lib/tip/ohsnap.js" ></script>
<script type="text/javascript" src="${path}/style/lib/tip/jquery_cookie_min.js"></script>
<style>
/*ohSnap 提示插件*/
 
/* Oh Snap */
 
#ohsnap {
  position: absolute;
  top:35%;
  right:45%;
  z-index:99;
}
 
.alert {
  text-align: center;
  margin-top: 10px;
  padding: 25px;
  border: 1px solid #eed3d7;
  border-radius: 4px;
  float: right;
  clear: right;
}
 
.alert-error {
  color: white;
  background-color: #DA4453;
}
.alert-info {
  color: white;
  background-color: #37BC9B;
}
.alert-success {
  color: white;
  background-color: #4A89DC;
}
.alert-yellow {
  color: white;
  background-color: #F6BB42;
}
.alert-warning {
  color:white;
  background-color: #E9573F;
}
 
.buttons {
  margin-bottom: 20px;
  display: block;
}
 
.buttons a {
  margin:auto;
  margin-bottom:10px;
  float: none !important;
  text-align: center;
 
}
 
.buttons a span { 
  padding-left: 0px; 
}
 
#ohsnap { text-shadow: none; }
@media (max-width: 450px) {
  .buttons {
    margin-bottom: 334px;
  }
}
</style>
<script type="text/javascript">
$(function(){
	var tip = jQuery.parseJSON($.cookie("tip"));
	
	if(tip!=null){
		if(tip.msg!=""){
		//, tip.type
			if(window.parent.fraleftframe!=undefined){
				window.parent.fraleftframe.myLoadTask();
			}
			ohSnap(tip.msg, tip.type);
		}
	}
	
	$.cookie("tip", null, {expires: 7, path: '/'});
});
</script>
<div id="ohsnap"></div>